
/*{{{ very basic styles */

body {
	margin:0;
	background-color:#fff;
	padding:0 0 50px 0;
}

body, p, div, a {
	font-family:"Lucida Grande","Lucida Sans Unicode","bitstream vera sans","trebuchet ms",verdana,sans-serif;
	font-size:12px;
}

a {
	color:#295c72;
	outline:none;
}

a.external {
	
	padding-right:15px;
}


.clear, hr {
	clear:both;
	display:block;
	font-size:1px;
	height:10px;
	line-height:10px;
	margin:0pt;
	padding:0pt;
}

hr {
	margin:-5px 0px 5px 0;
	border:1px solid #ccc;
	border-width:1px 0 0 0;
}

.col {
	float:left;
	margin-right:20px;
}

.col50 {
	float:left;
	margin-right:40px;
	width:350px;
}



.last {
	 margin:0 !important;
	 padding:0;
	 border:0;
}

.col h2 {
	margin:0 0 5px 0;
}

img {
	border:0;
}

table {
	border-collapse:collapse;
}

a:active {
  outline:none;
}

:focus, button {
  -moz-outline-style:none;
}





#right .smaller {
	margin-top:20px;
}

#right .smaller .selected {
	cursor:default;
	color:#000;
	font-weight:bold;
}

body.ie7 #content ul, body.ie7 #content ol {
	margin-left:50px;
}

.rounded {
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
}

/*}}}*/


/*{{{ typo */

h1, h2, h3, h4 {
	font-weight:normal;
	color:#444;
	margin:35px 0 -5px 0;
}

h2 { font-size:22px; }
h3 { font-size:14px;	font-weight:bold; margin-bottom:-8px; color: #111; }
h4 { font-size:14px;	margin-top:20px; }

h1 em, h2 em, h3 em, h4 em {
	font-style:normal;
	color:rgb(45, 90, 195);
}

ol, p, table {
	margin:10px 0px;
}

samp {
	color:#112699;
}

.first {
	margin-top:0px;
}

.lower {
	margin-top:20px !important;
}

.higher {
	margin-top:40px !important;
}

.red {
	color:#bf0d00;
}

.blue {
	color:#2D5AC3;
}

p.more {
	margin:20px 0;
	color:#666;
}

p.more, p.more a {
	font-size:16px;
}

.center {
	text-align:center;
}
/*}}}*/






/*{{{ global elements */

#wrap {
	margin:10px auto;
	width:100%;
}

#content {
	background:#fff  no-repeat;
	float:left;
	min-height:400px;
	padding:20px;
	width:1024px;
}

#right {
	float:right;
	width:180px;
}

#content, #right {
	margin-top:150px;
}




#tools_index #right {
	margin-top:355px;
}

body.tools #content, body.tools #right {
	margin-top:250px;
}

body.tools #content h1 {
	height:345px;
	text-indent:-999em;
	top:-339px;
	margin-bottom:-339px;
	z-index:-1;
}

#breadcrumb {
	color:#999;
	font-size:11px;
	position:relative;
	top:-5px;
	margin-bottom:-20px;
}

#breadcrumb strong, #blog #right li a strong {
	font-weight:normal;
}

#breadcrumb a {
	font-size:11px;
	text-decoration:none;
}



/* title */
#content h1 {
	background-repeat:no-repeat;
	padding:15px 0 0 95px;
	letter-spacing:-1px;
	font-size:28px;
	height:90px;
	position:relative;
	top:-146px;
	margin:0px 0 -140px 0;
	color:#809198;
	font-weight:bold;
	width:870px;
}

#content h1 strong {
	color:#505050;
}

/* a little wider title icon for these */
#download_index #content, #3_2_index #content {
	margin:0;
	padding:0;
	width:100%;
	background:none;
	margin-top:15px;
}

#download_index #right, #3_2_index #right  {
	display:none;
}

/* move API tabs lower */
#documentation_api #content, #documentation_api #right {
	margin-top:160px !important;
}

#documentation_api #content h1 {
	top:-160px;
}


#plugins_index h1 {
	padding-top:22px;
		top:-147px;
	margin-bottom:-125px;
}

#content h1 em {
	display:block;
	font-size:20px;
	color:#808080;
	margin-top:-2px;
	font-weight:normal;
}


/*}}}*/


/*{{{ RIGHT */
#right h3 {
	letter-spacing:0;
}

#rightnav {
	margin:-10px 0 0 5px;
}

#rightnav h3 {
	border-bottom:1px solid #666;
	margin-bottom:5px;
}

#rightnav a {
	display:block;
	padding:4px 6px;
	border-bottom:1px dotted #ccc;
	text-decoration:none;
}

#rightnav .active a {
	text-decoration:underline !important;
	color:black;
	cursor:default;
}

#rightnav a:hover {
	background-color:#efefef;
}


#rightnav a.plugin {
	padding-left:15px;
	color:#777 !important;
	font-size:11px;
}

#rightnav a.active {
	background-color:#466782;
	color:#fff !important;
	cursor:default;
}

.tools #rightnav a.active  {
	background-color:#00559E;
}



#biglink {
	display:block;
	font-size:20px;
	padding:5px 15px;
	text-align:center;
	text-decoration:none;
}

#biglink strong {
	color:#000;
	letter-spacing:-1px;
	display:block;
}


#biglink:hover strong {
	text-decoration:underline;
}

#biglink.current strong {
	text-decoration:none !important;
}

#biglink.current {
	cursor:default;
	background-color:#efefef;
	-moz-border-radius:3px;
	-webkit-border-radius:3px;
}


/* #right box */

#right .box {
	width:181px;
	margin:-1px 0 7px 0;
}

#right h2 {
	font-size:12px;
	height:16px;
	line-height:16px;
	margin:0px;
	padding:6px 10px;
	display:block;
	text-decoration:none;
	color:#000;
	letter-spacing:0px;
}

#right h2.ruby {
	background-position:0 -255px;
	color:#fff;
}

#right h2.active {
	background-position:0 -192px;
	color:#fff;
	height:17px;
}




#right .gradient {
	background:#f0f6f7;
	margin:0 3px;
	padding:6px 8px;
}

#right .gradient.ruby {
	background:#fff;
}

#right .clear {
	height:10px;
}


/* box content */
#right .box ul {
	margin:0;
	padding:0;
}

#right .box li {
	list-style-type:none;
}

#right .box a {
	display:block;
	padding:5px 8px;
	border-bottom:1px solid #ddd;
	text-decoration:none;
	font-size:11px;
	margin:0px 3px;
}

#plugins_index #right .box a {
	padding:4px 8px;
	font-size:11px;
}

#right .box a:hover {
	background-color:#efefef;
	color:black;
}



#right .box a.selected, #right .box a.selected:hover {
	background-color:#666;
	color:#fff;
	cursor:default;
}

#right .box input.text {
	width:150px;
}

/* mini plugin icons */
span.icon {
	display:block;
	width:24px;
	height:24px;
	float:left;
	margin:-3px 8px 0 -4px;
}

span.icon.js {
	background-position:0 -25px;
}

span.icon.streaming {
	background-position:0 -50px;
}

span.icon.tools {
	background-position:0 -74px;
}

/*}}}*/


/*{{{ BOXES */


/*{{{ code */

pre, code, .code {
	font-family:'andale mono','bitstream vera sans mono','lucida console','courier new',monospace;
	font-size:12px;
	line-height:16px;
}

.petrol code span.js__com {
	color:lightgreen;
}

.petrol code span.js__string {
	color:#bbc7cf;
}

.petrol code span.js__keyword {
	color:#d8c;
}

.petrol code span.js__flow {
	color:#95d0df;
}



#content .box.code {
	background:#f9f9fa;
	padding:0px 14px 0px 35px;
}

#content .box.code h2 {
	margin-left:-40px;
	margin-top:0px;
}


#content table.listing .box.code {
	padding-left:0px;
	background-image:none;
	outline:0;
}
/*}}}*/


/*{{{ #content box, listing, .tip  */

#content .box, table.listing, .tip {
	border:1px solid #ccc;
	background-color:#f0f1f2;
	margin:10px 0 15px 0;
	padding:10px;

	/* outline radius */
	-moz-border-radius:4px;
	-webkit-border-radius:4px;
}

.opera .box, .opera .listing, .opera .tip {
	outline:0 !important;
}


#content .box h2 {
	margin:0px;
	background-color:#c2d0da;
	font-weight:normal;
	font-size:15px;
	line-height:30px;
	padding:0 10px;
	margin:-10px -10px 10px -10px;
}




/* skins */
#content .box.dark 									{ background-color:#99a6af; }
#content .box.dark h2 								{ background-color:#586e7b; }
#content .box.light 									{ background-color:#f9f9fa; }
#content .box.light h2 								{ background-color:#d7dde1; }
#content .box.petrol 								{ background-color:#295c72; }
#content .box.petrol h2 							{ background-color:#254558; }
#content .box.petrol.dark, .tip 				{ background-color:#254558; }
#content .box.petrol.dark h2, .tip h2 		{ background-color:#295c72; }
#content .box.ruby 									{ background-color:#e5e7e9; }
#content .box.ruby h2 								{ background-color:#b8128f; }
#content .box.ruby.dark 							{ background-color:#b8128f; }
#content .box.ruby.dark h2 						{ background-color:#552452; }
#content .box.black 									{ background-color:#000000; }
#content .box.black h2 								{ background-color:#3C4752; }

/* box font colors */
.box.dark, .box.petrol, .box.black, .tip,
.box.dark h2, .box.petrol h2, .box.ruby h2, .box.black h2,
.box.dark h3, .tip h2 {
	margin-top:0px;
	color:#fff;
}

.box.dark a, .box.petrol a, .box.black a {
	color:yellow;
}

.box.petrol samp {
	color:#95D0DF;
}

/* mouseover tip */
.tip {
	width:280px;
	display:none;
	position:absolute;
	z-index:2;
}

.tip h3 {
	color:#dee7ec;
}

/* info, alert */
#content .box.info, #content .box.alert {
	
	background-position:6px center;
	background-repeat:no-repeat;
	padding:15px 50px;
	font-size:14px;
	color:#555;
}

#content .box.info a {
	font-size:14px;
}


#content .box.info.petrol {
	color:#fff;
}

#content .box.alert {
	
}

/*}}}*/


/*}}}*/


/*{{{ forms */
form {
	margin:10px 0;
}

input.text, textarea {
	padding:3px 4px;
	border:1px inset #ccc;
	font-size:12px;
	-moz-border-radius:3px;
	margin-top:2px;
}

textarea {
	width:98%;
	height:200px;
	padding:6px;
	font-size:13px;
	overflow:auto;
}

select {
	font-size:11px;
	border:1px inset #ccc;
	padding:2px;
}

td.label {
	width:120px;
	color:#809198;
}

.help {
	font-size:11px;
	color:#666;
}

.help a {
	font-size:11px;
}

td.help {
	padding-left:10px;
}

p.less {
	color:#555;
}


input.readmode {
	text-decoration:underline;
}



.error {
	color:darkred;
	font-size:11px;
}

button {
	font-size:12px;
}

td.blank {
	border:0;
	height:30px;
}

/*}}}*/


/*{{{ buttons */

button {
	border-width:1px;
	border-bottom: 0.2em solid #666;
	font-size:1em;
	padding:0.3em 0.6em;
	color:#fff;
	line-height: 1;
	text-shadow: 0 0 0.1em #222;
	cursor:pointer;
	background-color:#5D689A;
	-moz-box-shadow: 0 0.1em 0.2em rgba(0,0,0,0.5);
	-moz-border-radius:10.2em;

	-webkit-box-shadow: 0 0.1em 0.2em rgba(0,0,0,0.5);
	-webkit-border-radius:10.2em;
}

button em {
	color:yellow;
	font-style:normal;
}

/* button.custom */
button.custom {
	
	height:32px;
	width:99px;
	border:0;
	outline:0;
}

button.custom:hover {
	background-position: 0 -34px;
}

button.custom:active {
	background-position: 0 -68px;
}

button.custom span {
	position:relative;
	top:-1px;
}

button.custom.large {
	
	width:119px;
}

button.custom.low {

	width:75px;
	height:24px;
	font-size:11px;
}

button.low:hover {
	background-position: 0 -26px;
}

button.low:active {
	background-position: 0 -52px;
}


button.custom.low.large {
	
	width:115px;
}

button.custom.low.medium {
	
	width:94px;
}

button.custom.low.xlarge {
	
	width:155px;
}

button.delete {
	
	width:94px;
	height:24px;
}

button.delete:hover {
	background-position: 0 -26px;
}

button.delete:active {
	background-position: 0 -52px;
}



button.custom.low span {
	top:-2px;
}







/*}}}*/


/*{{{ tables */

table.listing {
	width:100%;
	background-color:#fff;
}

table.listing td {
	border-bottom:1px solid #ddd;
	padding:5px;
}


table.listing a:hover {
	color:#000;
}

table.listing a:hover span {
	color:#333;
}

th {
	background-color:#c2d0da;
	text-align:left;
	padding:5px;
	border-bottom:5px solid #fff;
	font-weight:normal;
	font-size:14px;
}

table.listing td img {
	cursor:pointer;
}

th.sort {
	cursor:pointer;
	background-color:#A2D0DA;
	border-left:1px solid #FFFFFF !important;
}

th.sort.asc, th.sort.desc {
	background-color:#ffD0DA;
}

/* api listings */
th.col1 {
	width:120px;
}

td.code {
	color:blue;
	width:120px;
}

.type {
	color:#789;
	font-family:"courier new",courier;
}

td.default {
	color:#345;
	width:80px;
}

td.type {
	color:navy;
}

td.code em {
	color:#666;
	font-style:normal;
}

td.description {
	color:#333;
	font-size:12px;
}

td.code i {
	font-style:normal;
	color:#666;
}

.pre {
	white-space:pre;
}

.code strong {
	color:navy;
}


/*}}}*/


/*{{{ player */

a.player {
	display:block;
	width:500px;
	height:340px;
	background:#000;
	text-align:center;
	color:#fff;
	text-decoration:none;
	cursor:pointer;
	background:-moz-linear-gradient(top, rgba(55, 102, 152, 0.9), rgba(6, 6, 6, 0.9));
	-moz-box-shadow:0 0 40px rgba(100, 118, 173, 0.5);
}

a.player:hover {
	background:-moz-linear-gradient(center top, rgba(73, 122, 173, 0.898), rgba(6, 6, 6, 0.898));
}


a.player.plain {
	background-position:-125px 0;
	padding:0px;
	margin-top:0px;
}

a.player.small {
	
	height:186px;
	padding:0pt 24px 45px;
	width:251px;
	float:left;
	margin-right:30px;

	/*
		width:375px;
		height:232px;
	*/
}

a.player.small.plain {
	background-position:-24px 0;
	padding:0px;
}

/* play button */
a.player img {
	margin-top:125px;
}

a.player.plain img {
	margin-top:113px;
}

a.player.small img {
	margin-top:60px;
}

a.player p {
	margin-bottom:-15px;
	padding-top:0px;
}

/*}}}*/


/*{{{ info, overlay, grippie */

/* overlay */
.overlay, #overlay {
	padding:40px;
	width:576px;
	display:none;
	
}

a.close {
	
	position:absolute;
	top:2px;
	right:5px;
	width:35px;
	height:35px;
	cursor:pointer;
}

#overlay_player {
	display:block;
	height:450px;
}



#right li a span {
	display:block;
	margin-top:2px;
	color:#333;
	font-size:11px;
}

#right li a.selected span {
	display:block;
	margin-top:2px;
	color:yellow;
}

/*}}}*/







/*{{{ tools  */
.tools #right a {
	color:#00559E;
}

#tools_index #right {
	margin-top:355px;
}

body.tools #content, body.tools #right {
	margin-top:250px;
}

body.tools #breadcrumb {
	margin-bottom:-15px;
	top:-35px;
}


body.tools #content h1 {
	height:320px;
	text-indent:-999em;
	top:-330px;
	margin-bottom:-339px;
	z-index:-1;
}



h1 i {
	color:#BF17A2;
	font-style:normal;
}



/*}}}*/

@media print {

	body {
		padding:0;
	}

	#globalnav, #right, #user, .noprint, #breadcrumb {
		display:none;
	}

	#wrap, #content {
		width:98%;
		margin:0;
	}

	#content h1 {
		padding:0;
		margin:0;
		top:0;
	}
}


